package cn.iocoder.yudao.module.wine.controller.admin.supplyorder.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 供求订单管理分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SupplyOrderPageReqVO extends PageParam {

    @Schema(description = "订单流水号")
    private String no;

    @Schema(description = "订单类型", example = "2")
    private Integer type;

    @Schema(description = "订单来源终端")
    private Integer terminal;

    @Schema(description = "卖方用户ID(卖方ID)", example = "14038")
    private Long saleUserId;

    @Schema(description = "卖方备注", example = "你猜")
    private String saleUserRemark;

    @Schema(description = "购买用户编号(买方ID)", example = "22941")
    private Long buyUserId;

    @Schema(description = "购买用户备注", example = "你说的对")
    private String buyUserRemark;

    @Schema(description = "订单状态", example = "1")
    private Integer status;

    @Schema(description = "购买的数量", example = "30762")
    private Integer productCount;

    @Schema(description = "购买的箱量" , example = "30762")
    private Integer productQuantity;

    @Schema(description = "取消类型", example = "1")
    private Integer cancelType;

    @Schema(description = "交易类型：1--担责，2--担保", example = "2")
    private Integer tradeType;

    @Schema(description = "是否评价", example = "1")
    private Integer commentStatus;

    @Schema(description = "推广人编号", example = "6738")
    private Long brokerageUserId;

    @Schema(description = "支付订单编号", example = "4563")
    private Long payOrderId;

    @Schema(description = "货款是否已支付：[0:未支付 1:已经支付过]", example = "1")
    private Integer payStatus;

    @Schema(description = "订单支付时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] payTime;

    @Schema(description = "支付成功的支付渠道")
    private String payChannelCode;

    @Schema(description = "订单完成时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] finishTime;

    @Schema(description = "订单取消时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] cancelTime;

    @Schema(description = "商品原价（总），单位：分", example = "27080")
    private Integer totalPrice;

    @Schema(description = "应付金额（总），单位：分", example = "15120")
    private Integer payPrice;

    @Schema(description = "保费金额（总），单位：分", example = "26150")
    private Integer premiumPrice;

    @Schema(description = "保费是否已支付：[0:未支付 1:已经支付过]", example = "2")
    private Integer premiumStatus;

    @Schema(description = "配送类型", example = "2")
    private Integer deliveryType;

    @Schema(description = "发货时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] deliveryTime;

    @Schema(description = "发货凭证图")
    private String deliveryImages;

    @Schema(description = "发货物流公司编号", example = "1427")
    private Long logisticsId;

    @Schema(description = "物流公司单号")
    private String logisticsNo;

    @Schema(description = "收货时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] receiveTime;

    @Schema(description = "收件人名称", example = "赵六")
    private String receiverName;

    @Schema(description = "收件人手机")
    private String receiverMobile;

    @Schema(description = "收件人地区编号", example = "25107")
    private Integer receiverAreaId;

    @Schema(description = "收件人公司名称", example = "赵六")
    private String receiverCompanyName;

    @Schema(description = "收件人详细地址")
    private String receiverDetailAddress;

    @Schema(description = "验货视频")
    private String receiverVideo;

    @Schema(description = "平台操作状态：0--未收款，1--已收款，2--已打款，4--有纠纷", example = "2")
    private Integer operateStatus;

    @Schema(description = "平台操作备注", example = "随便")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
